#pragma once

#include "CFile.h"
#include "CNode.h"
#include <string>
#include <vector>

class CMessage
{
public:
	CMessage(int ttl) {TTL = ttl;}
	~CMessage() {};

	double getBW() {return bw;}
	void setBW(double b) {bw = b;}
	int getID() {return IDfileWanted;}

	void addNode(CNode* n, double b);
private:
	std::vector< CNode* > path;
	double bw; //Maintains the bottleneck bw along this path
	int IDfileWanted;
	int TTL;
};